<include file="public@header" />
<style>
 .page-item,.disabled{}
</style>
    <div class="inner-content">
        <div class="container">
            <include file="public@left" />
            <div class="content">
                <h2>{$category['name']}</h2>
                <div class="desc">
                    {$category['description']}
                </div>
                <div class="list-pic">
                    <ul>
						 <php>
							$where=[
							'post.create_time'=>['egt',0]
							];
							$page=[
								'list_rows'=>6,
								'next'=>'下一页',
								'prev'=>'上一页'
							];
						</php>
						<portal:articles item="vo" limit="6" where="$where" order="post.create_time DESC" page="$page"
                                 relation="categories"
                                 categoryIds="$category.id"
                                 returnVarName="articles_data">
                        <li>
                            <img src="{:cmf_get_image_preview_url($vo.more.thumbnail)}" alt="">
                            <a href="{:url('portal/Article/index',array('id'=>$vo['id']))}">{$vo.post_title}</a>
                            <span>{$vo.create_time|date="Y年m月d日",###}</span>
                        </li>
						 </portal:articles>
                       
                    </ul>
                </div>
                <div class="clearfix"></div>
                <div class="pages">
                    <ul>
						<page/>
					</ul>
                </div>
            </div>
        </div>
    </div>

<include file="public@foot" />